import Layout from '@/layout';
export const resumenMngRotes = {
  path: '/resumenMng',
  component: Layout,
  redirect: '/resumenMng/resumeList',
  name: 'resumenMng',
  meta: { title: '简历管理', icon: 'el-icon-tickets' },
  alwaysShow: true,
  children: [
    {
      path: 'resumeList',
      name: 'resumeList',
      component: () => import('@/views/Custom/ResumeMng/ResumeMng'),
      meta: { title: '简历管理列表', icon: 'el-icon-s-operation' },
    },
    {
      path: 'resumeEdit',
      name: 'resumeEdit',
      component: () => import('@/views/Custom/ResumeMng/ResumeEdit'),
      meta: { title: '简历编辑页面', icon: 'el-icon-edit' },
      props({ params: { isEdit, resumeRowInfo } }) {
        return { isEdit, resumeRowInfo };
      },
    },
    {
      path: 'resumetemplate',
      name: 'resumetemplate',
      component: () => import('@/views/Custom/ResumeMng/ResumeTemplate'),
      meta: { title: '简历模板', icon: 'el-icon-printer' },
      props({ params: { isEdit, resumeRowInfo } }) {
        return { isEdit, resumeRowInfo };
      },
    },
  ],
};
